import { expect } from '@ohos/hypium'

function strictEqual(a, b) {
    expect(a).assertEqual(b)
}

function notStrictEqual(a, b) {
    expect(Object.is(a, b)).assertFalse()
}

function throws(f, err) {
    expect(f).assertThrowError(err)
}

function ok(a) {
    expect(a).assertTrue()
}

// todo: deepStrictEqual

export default {
    strictEqual,
    notStrictEqual,
    throws,
    ok
}